/*
 * NodeTail.h
 *
 *  Created on: Apr 25, 2012
 *      Author: REZNIK
 */

#ifndef NODETAIL_H_
#define NODETAIL_H_

#include "NodeImpl.h"
#include "ListException.h"

namespace cs236703_spring2012_hw2{

class NodeTail : public NodeImpl
{
public:
	virtual ~NodeTail() {}
	virtual bool IsImmutable() const{ throw IllegalStateException(); }
	virtual void SetValue(int _value){ throw IllegalStateException(); }
	virtual int GetValue() const { throw IllegalStateException(); }
};


};

#endif /* NODETAIL_H_ */
